package example.testBeanPostProcessor;

import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

@Component
public class ComponentOne {

	public ComponentOne() {
		System.out.println("构造方法");
	}

	// 初始化方法
	@PostConstruct
	public void init() {
		System.out.println("初始化方法");
	}
}
